//-----------------------------------------------------------------------
// <copyright file="a_Email_PermissionBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_Email_PermissionBase
	{
		
		#region Variable Declarations
		private int				userID = 0;
		private string				mTmpType = string.Empty;
		private bool				permission = false;
		#endregion
		
		#region Constructors
		public a_Email_PermissionBase() {}
		
		public a_Email_PermissionBase (
			int userID,
			string mTmpType,
			bool permission)
		
		{
			this.userID = userID;
			this.mTmpType = mTmpType;
			this.permission = permission;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
		public int originalUserID
		{
			get { return originalUserID; }
			set { originalUserID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MTmpType
		{
			get { return mTmpType; }
			set { mTmpType = value; }
		}
		public string originalMTmpType
		{
			get { return originalMTmpType; }
			set { originalMTmpType = value; }
		} 
	
		/// <summary>
		/// 	0=Not Allow, 1 = Allow
		/// </summary>
		/// <value>This type is bit</value>
		public bool Permission
		{
			get { return permission; }
			set { permission = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_Email_PermissionColumns
	{
		UserID,
		MTmpType,
		Permission
	}//End enum
}